package jhlee42;

import java.util.Scanner;

public class J24professor {

	public static void main(String[] args) {
		J24professorService ps = new J24ProfessorServiceImpl();
		Scanner sc = new Scanner(System.in);
		
		switch (sc.nextInt()) {
		case 1: ps.newProfessor(); break;
		case 2: ps.readProfessor(); break;
		case 3: ps.readOneProfessor(); break;
		case 4: ps.modifyProfessor(); break;
		case 5: ps.removeProfessor(); break;
		case 0: ; break;
		default:System.out.println("올바르지 않은 선택입니다.");
			break;
		}

	}

}






